<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<head>
    <%@include file="/include/head.jsp"%>
    <title>余额明细</title>
    <script src="${rootPath}/static/js/mui.pullToRefresh.js"></script>
    <script src="${rootPath}/static/js/mui.pullToRefresh.material.js"></script>
    <script src="${rootPath}/static/js/paginationRequest.js"></script>
    <script type="text/javascript">
        var dataListUrl = "${rootPath}/customer/account/balanceDetail/list.do";
    </script>
</head>
<body>
<header class="mui-bar mui-bar-nav qy-bg-white qy-border-bottom">
    <a class="mui-icon mui-icon-back qy-text-black" href="/customer/account/balance.do"></a>
    <h1 class="mui-title qy-text-black qy-font-size-20px">余额明细</h1>
</header>
<div class="mui-content">
    <div id="slider" class="mui-slider mui-fullscreen">
        <div class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
            <a class="mui-control-item mui-active" href="#couponItem1">
                <span class="mui-inline">全部<i class="active-line"></i></span>
            </a>
            <a class="mui-control-item" href="#couponItem2">
                <span class="mui-inline">收入<i class="active-line"></i></span>
            </a>
            <a class="mui-control-item" href="#couponItem3">
                <span class="mui-inline">支出<i class="active-line"></i></span>
            </a>
        </div>

        <div class="mui-slider-group qy-margin-top-4px">
            <div id="couponItem1" class="mui-slider-item mui-control-content mui-active">


                <div class="mui-scroll-wrapper">
                    <div class="mui-scroll qy-bg-white qy-padding-left-12px">
                        <div id="vueListBox0" class="mui-slider-item mui-control-content mui-active">
                            <div class="mui-loading">
                                <div class="mui-spinner">
                                </div>
                            </div>
                            <div class="mui-table-view">
                                <div v-for="detail in datas" class="mui-row qy-border-bottom qy-padding-horizontal-14px qy-padding-right-12px">
                                    <div class="mui-col-xs-12 qy-flex qy-flex-text-between qy-font-size-18px qy-text-gray">
                                        <span v-if="detail.opType == 0">充值</span>
                                        <span v-else-if="detail.opType == 1">扣款</span>
                                        <span v-else-if="detail.opType == 2">提现</span>

                                        <span v-if="detail.opMoney <= 0">{{ detail.opMoney }}</span>
                                        <span v-else-if="detail.opMoney > 0" class="qy-text-blue">{{ detail.opMoney }}</span>
                                    </div>
                                    <div class="mui-col-xs-12 qy-flex qy-flex-text-between qy-font-size-12px qy-text-gray9 qy-margin-top-2px">
                                        <span v-if="detail.accountType == 0 && detail.opType == 2">银行卡</span>
                                        <span v-else-if="detail.accountType == 1 && detail.opType == 2">银行卡</span>
                                        <span v-else-if="detail.accountType == 2 && detail.opType == 2">微信</span>
                                        <span v-else-if="detail.opType != 1">余额</span>
                                        <span v-else></span>
                                        <span>{{ detail.opTime }}</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="couponItem2" class="mui-slider-item mui-control-content">
                <div class="mui-scroll-wrapper">
                    <div class="mui-scroll qy-bg-white qy-padding-left-12px">
                        <div id="vueListBox1" class="mui-slider-item mui-control-content">
                            <div class="mui-loading">
                                <div class="mui-spinner">
                                </div>
                            </div>
                            <div class="mui-table-view">
                                <div v-for="detail in datas" class="mui-row qy-border-bottom qy-padding-horizontal-14px qy-padding-right-12px">
                                    <div class="mui-col-xs-12 qy-flex qy-flex-text-between qy-font-size-18px qy-text-gray">
                                        <span v-if="detail.opType == 0">充值</span>
                                        <span v-else-if="detail.opType == 1">扣款</span>
                                        <span v-else-if="detail.opType == 2">提现</span>

                                        <span v-if="detail.opMoney <= 0">{{ detail.opMoney }}</span>
                                        <span v-else-if="detail.opMoney > 0" class="qy-text-blue">{{ detail.opMoney }}</span>
                                    </div>
                                    <div class="mui-col-xs-12 qy-flex qy-flex-text-between qy-font-size-12px qy-text-gray9 qy-margin-top-2px">
                                        <span v-if="detail.accountType == 0 && detail.opType == 2">银行卡</span>
                                        <span v-else-if="detail.accountType == 1 && detail.opType == 2">银行卡</span>
                                        <span v-else-if="detail.accountType == 2 && detail.opType == 2">微信</span>
                                        <span v-else-if="detail.opType != 1">余额</span>
                                        <span v-else></span>
                                        <span>{{ detail.opTime }}</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="couponItem3" class="mui-slider-item mui-control-content">
                <div class="mui-scroll-wrapper">
                    <div class="mui-scroll qy-bg-white qy-padding-left-12px">
                        <div id="vueListBox2" class="mui-slider-item mui-control-content">
                            <div class="mui-loading">
                                <div class="mui-spinner">
                                </div>
                            </div>
                            <div class="mui-table-view">
                                <div v-for="detail in datas" class="mui-row qy-border-bottom qy-padding-horizontal-14px qy-padding-right-12px">
                                    <div class="mui-col-xs-12 qy-flex qy-flex-text-between qy-font-size-18px qy-text-gray">
                                        <span v-if="detail.opType == 0">充值</span>
                                        <span v-if="detail.opType == 0">充值</span>
                                        <span v-else-if="detail.opType == 1">扣款</span>
                                        <span v-else-if="detail.opType == 2">提现</span>

                                        <span v-if="detail.opMoney <= 0">{{ detail.opMoney }}</span>
                                        <span v-else-if="detail.opMoney > 0" class="qy-text-blue">{{ detail.opMoney }}</span>
                                    </div>
                                    <div class="mui-col-xs-12 qy-flex qy-flex-text-between qy-font-size-12px qy-text-gray9 qy-margin-top-2px">
                                        <span v-if="detail.accountType == 0 && detail.opType == 2">银行卡</span>
                                        <span v-else-if="detail.accountType == 1 && detail.opType == 2">银行卡</span>
                                        <span v-else-if="detail.accountType == 2 && detail.opType == 2">微信</span>
                                        <span v-else-if="detail.opType != 1">余额</span>
                                        <span v-else></span>
                                        <span>{{ detail.opTime }}</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>